RAIS  3.2
C:/Projekte/RAIS/common/DBObject.cs
Go to the documentation of this file.
00001 
00028 using System;
00029 using System.Collections.Generic;
00030 using System.Text;
00031 
00032 namespace RAIS.Common
00033 {
00037     [Serializable]
00038     public class DBObject
00039     {
00040         #region Fields
00041         protected int id;                                                   
00042         protected string name = "";               
00043         #endregion
00044         #region Properties
00045 
00048         public int ID
00049         {
00050             get { return this.id; }
00051             set { this.id = value; }
00052         }
00056         public string Name
00057         {
00058             get { return this.name; }
00059             set { this.name = value; }
00060         }
00061         #endregion
00062     }
00063 
00067         [Serializable]
00068         public class DBTypeObject
00069         {
00070                 #region Fields
00071                 protected int id;                                                       
00072                 protected string name = "";                                     
00073                 protected string visibleName = "";                      
00074                 #endregion
00075 
00076                 #region Properties
00077 
00080                 public int ID
00081                 {
00082                         get { return this.id; }
00083                 }
00087                 public string VisibleName
00088                 {
00089                         get { return this.visibleName; }
00090                 }
00091                 #endregion
00092         }
00093 }